
import main from '@/view/mian'
import menu from '@/view/mian'
export const  otherRouter = [
  {
    path: '/',
    name: '',
    component: main,
    children: [
      {
        path: 'findMusic',
        name: 'findMusic',
        title: '发现音乐',
        component: resolve => {
          require(['../view/findMusic/index.vue'], resolve)
        }
      }
    ]
  },
  {
    path: '/',
    name: '/',
    component: main,
    children: [
      {
        path: 'list',
        name: 'list',
        title: '音乐列表',
        component: resolve => {
          require(['@/components/musicList'], resolve)
        }
      }
    ]
  }
]
export const routers = [
  ...otherRouter
]